package ${sourceBasePackage}.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ${description}查询DTO类
 * @author ${author}
 */
@Data
@ApiModel("${description}查询DTO类")
public class ${entityName}SearchDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("页数")
	private Integer page;
	@ApiModelProperty("每页行数")
	private Integer rows;

	<#list searchFields as po>
	<#if po.listQuery == 'interval' || po.listQuery == 'between'>
	@ApiModelProperty("${po.description}开始")
	private ${po.propertyType} ${po.propertyName}Start;
	@ApiModelProperty("${po.description}结束")
	private ${po.propertyType} ${po.propertyName}End;
	<#else>
    @ApiModelProperty("${po.description}")
    private ${po.propertyType} ${po.propertyName};
	</#if>
	</#list>

}
